
const data_config = require("./data_config");


module.exports = {
  nav_name: '财务管理', //生成导航菜单
  module_name: 'financial_m',  //生成路径，必须与文件名相同
  api: `{
    ping_tuan_page: commonPath + "/admin/orderspell/page", //拼团分页
    ping_tuan_statistics: cPath + "/admin/orderspell/statistics", //拼团统计数据
    ping_tuan_ming_xi_page: commonPath + '/admin/orderspell/detail', //拼团明细
    mei_ri_shi_fang_page: commonPath + "/admin/pindouReleaseDetail/page", //每日释放
    v3_speed_up: commonPath + "/admin/pindouReleaseDetail/page", //v3加速

    mei_ri_shi_fang_page_dp: commonPath + "/admin/pindouReleaseDetail/detail", //每日释放
    v3_speed_up_dp: commonPath + "/admin/pindouReleaseDetail/detail", //v3加速

    user_extract_editState: commonPath + "/admin/user_extract/editState", //修改审核状态
    user_extract_page: commonPath + "/admin/user_extract/page",      //提现分页
    user_zhuan_zhang: cPath + "/admin/user_extract/transferAccounts", //转账上传

    profit_page: cPath + "/admin/user_statement/userPage", //收益明细列表
    tixian_export: cPath + "/admin/user_extract/export", //提现导出
    pingtuan_export:  cPath + "/admin/orderspell/export", //拼团导出

    jd_order_list: cPath + "/jd/good/reconciliation", //京东订单明细p
    jd_account_balance: cPath + "/jd/good/searchBalance", //京东钱包余额p

  }`, //接口

  //京东订单明细列表
  table11: {
    isGenerate: "false", //false表示不生成页面
    table_name: "jd_order_table",  //表页面名
    nav_name: "京东订单明细列表",  //导航名
    tipsText: "财务管理 >> 京东订单明细列表", //顶部文字
    // tableReqMethod: "get",  //分页请求配置成get方式, 默认为post
    pageApi: "API.financial_m.jd_order_list",  //请求api
    // extraPageRequestParams: `
    //   type: 2,  //每日万5释放
    // `, //已有page和pageSize
    //获取列表页面padding0
    tableData: [
      //普通
      { title: '序号', name: 'index', type: "normal" },
      { title: '京东订单编号', name: 'poNo', type: "normal" },
      { title: '金额', name: 'platAmt', type: "normal" },
      { title: '时间', name: 'billDate', type: "normal" },
    ],
    tableOpt: [
    ],
    search: {
      contentArr: {
        input1: { labelName: '订单号', inputName: 'poNo' },
        date1: {
          labelName: '起止时间',
          inputName: 'tempTime',
          dateConfig: {
            startDateName: 'startTm',
            endDateName: 'endTm',
            dateChangeMethodsName: 'handleSearchDateChange'
          }
        },
      },
      //查找按钮的文字
      searchBtn: {
        text: "查询", //链接与table请求接口相同，不做另外配置
      },
      //添加按钮
      // addBtn: {
      //   //搜索栏具有添加功能按钮时，设置此字段
      //   type: "add",
      //   text: "新增等级",
      //   request: false,
      //   jump: "/financial_m_add_page", //添加的跳转按钮
      // }
    },
  },



  //拼团统计列表
  table1: {
    isGenerate: "false", //false表示不生成页面
    table_name: "ping_tuan_table",  //表页面名
    nav_name: "拼团统计列表",  //导航名
    tipsText: "财务管理 >> 拼团统计列表", //顶部文字
    // tableReqMethod: "get",  //分页请求配置成get方式, 默认为post
    pageApi: "API.financial_m.ping_tuan_page",  //请求api
    // extraPageRequestParams: `
    //   type: 2,  //每日万5释放
    // `, //已有page和pageSize
    //获取列表页面padding0
    tableData: [
      //普通
      { title: '序号', name: 'index', type: "normal" },
      { title: '拼团编号', name: 'id', type: "normal" },
      { title: '产品id', name: 'productId', type: "normal" },
      { title: '产品名称', name: 'productName', type: "normal" },
      { title: '用户id', name: 'userId', type: "normal" },
      { title: '手机号', name: 'tel', type: "normal" },
      { title: '拼呗拨比', name: 'pinBei', type: "normal" },
      { title: '拼豆拨比', name: 'pinDou', type: "normal" },
      {
        title: '拼团状态',
        name: 'orderState',
        type: "opts",
        showName: "orderStateShow",
        showObj: `{
          "1": "拼团中",
          "2": "拼团成功",
          "3": "已取消",
        }`
      },
      { title: '创建时间', name: 'createDate', type: "normal" },
    ],
    tableOpt: [
      {
        type: "view",
        text: "明细",
        request: false,
        jump: "/financial_m_ping_tuan_ming_xi_table",
      },
    ],
    search: {
      contentArr: {
        input1: { labelName: '手机号', inputName: 'tel' },
        input2: { labelName: '产品id', inputName: 'productId' },
        date1: {
          labelName: '起止时间',
          inputName: 'tempTime',
          dateConfig: {
            startDateName: 'startDate',
            endDateName: 'endDate',
            dateChangeMethodsName: 'handleSearchDateChange'
          }
        },
      },
      //查找按钮的文字
      searchBtn: {
        text: "查询", //链接与table请求接口相同，不做另外配置
      },
      //添加按钮
      // addBtn: {
      //   //搜索栏具有添加功能按钮时，设置此字段
      //   type: "add",
      //   text: "新增等级",
      //   request: false,
      //   jump: "/financial_m_add_page", //添加的跳转按钮
      // }
    },
  },

  //拼团明细
  table2: {
    // isGenerate: "false", //false表示不生成页面
    table_name: "ping_tuan_ming_xi_table",  //表页面名
    // nav_name: "拼团明细列表",  //导航名
    tipsText: "财务管理 >> 拼团明细列表", //顶部文字
    // tableReqMethod: "get",  //分页请求配置成get方式, 默认为post
    pageApi: "API.financial_m.ping_tuan_ming_xi_page",  //请求api
    extraPageRequestParams: `
      orderId: this.$route.query.id,  //请求
    `, //已有page和pageSize
    //获取列表页面
    tableData: [
      //普通
      { title: '序号', name: 'index', type: "normal" },
      { title: '金额数量', name: 'number', type: "normal" },
      { title: '手机号', name: 'tel', type: "normal" },
      {
        title: '种类',
        name: 'numberType',
        type: "opts",
        showName: "numberTypeShow",
        showObj: `{
          "1": "奖章",
          "2": "拼团未中奖退回余额",
          "3": "拼豆",
          "4": "提货券",
          "5": "拼呗",
          "6": "购买扣除余额",
          "7": "代理竞购余额",
        }`
      },
      {
        title: '来源',
        name: 'earningsType',
        type: "opts",
        showName: "earningsTypeShow",
        showObj: `{
          "1": "USDT充值",
          "2": "CNY(拼团余额)",
          "3": "支付宝",
          "4": "下级订单未中奖收益",
          "5": "退回参团金额",
          "6": "拼团未中奖收益",
          "7": "订单中奖明细",
          "8": "下级订单中奖奖励",
          "9": "创客奖励",
          "10": "创客释放",
          "11": "每日释放",
          "12": "v3加速",
          "13": "参与城市代理竞购",
          "14": "城市代理确认支付金额",
          "15": "代理结算",
          "16": "代理加速",
          "17": "创始节点",
          "18": "参与拼团",
          "19": "两倍燃烧奖章",
          "20": "助力燃烧奖章",
          "21": "购买易物",
          "22": "提货券兑换拼呗",
          "23": "拼呗兑换余额",
          "24": "代理退款",
        }`
      },
      {
        title: '类型',
        name: 'earnings',
        type: "opts",
        showName: "earningsShow",
        showObj: `{
          "1": "拼团中",
          "2": "拼团成功",
          "3": "已取消",
        }`
      },
      { title: '描述', name: 'payDescribe', type: "normal" },
      { title: '创建时间', name: 'createDate', type: "normal" },
    ],
    tableOpt: [

    ],
    search: {
      contentArr: {
        input1: { labelName: '手机号', inputName: 'tel' },
        input2: { labelName: '产品id', inputName: 'productId' },
        date1: {
          labelName: '起止时间',
          inputName: 'tempTime',
          dateConfig: {
            startDateName: 'startDate',
            endDateName: 'endDate',
            dateChangeMethodsName: 'handleSearchDateChange'
          }
        },
      },
      //查找按钮的文字
      searchBtn: {
        text: "查询", //链接与table请求接口相同，不做另外配置
      },
      //添加按钮
      // addBtn: {
      //   //搜索栏具有添加功能按钮时，设置此字段
      //   type: "add",
      //   text: "新增等级",
      //   request: false,
      //   jump: "/financial_m_add_page", //添加的跳转按钮
      // }
    },
  },


  //拼团每日释放
  table3: {
    isGenerate: "false", //false表示不生成页面
    table_name: "mei_ri_shi_fang",  //表页面名
    nav_name: "每日释放列表",  //导航名
    tipsText: "财务管理 >> 每日释放列表", //顶部文字
    // tableReqMethod: "get",  //分页请求配置成get方式, 默认为post
    pageApi: "API.financial_m.mei_ri_shi_fang_page",  //请求api
    extraPageRequestParams: `
      type: 2,  //每日万5释放
    `, //已有page和pageSize
    //获取列表页面
    tableData: [
      //普通
      { title: '序号', name: 'index', type: "normal" },
      { title: '平台总拼豆', name: 'ptPindou', type: "normal" },
      { title: '预估释放拼豆', name: 'estimateRelease', type: "normal" },
      { title: '实际释放拼豆', name: 'actualRelease', type: "normal" },
      { title: '释放时间', name: 'createDate', type: "normal" },
    ],
    tableOpt: [
      {
        type: "view",
        text: "明细",
        request: false,
        jump: "/financial_m_mei_ri_shi_fang_detail_table",
      },
    ],
    search: {
      contentArr: {
        date1: {
          labelName: '起止时间',
          inputName: 'tempTime',
          dateConfig: {
            startDateName: 'startDate',
            endDateName: 'endDate',
            dateChangeMethodsName: 'handleSearchDateChange'
          }
        },
      },
      //查找按钮的文字
      searchBtn: {
        text: "查询", //链接与table请求接口相同，不做另外配置
      },
      //添加按钮
      // addBtn: {
      //   //搜索栏具有添加功能按钮时，设置此字段
      //   type: "add",
      //   text: "新增等级",
      //   request: false,
      //   jump: "/financial_m_add_page", //添加的跳转按钮
      // }
    },
  },


  //拼团每日释放 明细
  table3_1: {
    // isGenerate: "false", //false表示不生成页面
    table_name: "mei_ri_shi_fang_detail_table",  //表页面名
    // nav_name: "拼团每日释放明细",  //导航名
    tipsText: "财务管理 >> 拼团每日释放明细", //顶部文字
    // tableReqMethod: "get",  //分页请求配置成get方式, 默认为post
    pageApi: "API.financial_m.mei_ri_shi_fang_page_dp",  //请求api
    extraPageRequestParams: `
      type: 2,  //每日释放
      createDate: this.$route.query.createDate,
      earningsType: 11,
    `, //已有page和pageSize
    //获取列表页面
    tableData: [
      //普通
      { title: '序号', name: 'index', type: "normal" },
      { title: '用户id', name: 'userId', type: "normal" },
      { title: '数量', name: 'number', type: "normal" },
      { title: '电话', name: 'tel', type: "normal" },
      { title: '订单id', name: 'payNo', type: "normal" },
      {
        title: '出入账',
        name: 'earnings',
        type: "opts",
        showName: "earningsShow",
        showObj: `{
          "1": "收入",
          "2": "支出",
          "3": "充值",
        }`
      },
      {
        title: '来源',
        name: 'earningsType',
        type: "opts",
        showName: "earningsTypeShow",
        showObj: `{
          "1": "USDT充值",
          "2": "CNY(拼团余额)",
          "3": "支付宝",
          "4": "下级订单未中奖收益",
          "5": "退回参团金额",
          "6": "拼团未中奖收益",
          "7": "订单中奖明细",
          "8": "下级订单中奖奖励",
          "9": "创客奖励",
          "10": "创客释放",
          "11": "每日释放",
          "12": "v3加速",
          "13": "参与城市代理竞购",
          "14": "城市代理确认支付金额",
          "15": "代理结算",
          "16": "代理加速",
          "17": "创始节点",
          "18": "参与拼团",
          "19": "两倍燃烧奖章",
          "20": "助力燃烧奖章",
          "21": "购买易物",
          "22": "提货券兑换拼呗",
          "23": "拼呗兑换余额",
          "24": "代理退款",
          "25": "代理竞购成功奖励",
        }`
      },
      {
        title: '类型',
        name: 'numberType',
        type: "opts",
        showName: "numberTypeShow",
        showObj: `{
          "1": "奖章",
          "2": "拼团未中奖退回余额",
          "3": "拼豆",
          "4": "提货券",
          "5": "拼呗",
          "6": "购买扣除余额",
          "7": "代理竞购余额",
        }`
      },
    ],
    tableOpt: [

    ],
    search: {
      contentArr: {
        // date1: {
        //   labelName: '起止时间',
        //   inputName: 'tempTime',
        //   dateConfig: {
        //     startDateName: 'startDate',
        //     endDateName: 'endDate',
        //     dateChangeMethodsName: 'handleSearchDateChange'
        //   }
        // },
      },
      //查找按钮的文字
      // searchBtn: {
      //   text: "查询", //链接与table请求接口相同，不做另外配置
      // },
      //添加按钮
      // addBtn: {
      //   //搜索栏具有添加功能按钮时，设置此字段
      //   type: "add",
      //   text: "新增等级",
      //   request: false,
      //   jump: "/financial_m_add_page", //添加的跳转按钮
      // }
    },
  },


  //v3加速释放
  table4: {
    isGenerate: "false", //false表示不生成页面
    table_name: "v3_speed_up_table",  //表页面名
    nav_name: "v3加速释放",  //导航名
    tipsText: "财务管理 >> v3加速释放", //顶部文字
    // tableReqMethod: "get",  //分页请求配置成get方式, 默认为post
    pageApi: "API.financial_m.v3_speed_up",  //请求api
    extraPageRequestParams: `
      type: 1,  //v3释放
    `, //已有page和pageSize
    //获取列表页面
    tableData: [
      //普通
      { title: '序号', name: 'index', type: "normal" },
      { title: '平台总拼豆', name: 'ptPindou', type: "normal" },
      { title: '预估释放拼豆', name: 'estimateRelease', type: "normal" },
      { title: '实际释放拼豆', name: 'actualRelease', type: "normal" },
      { title: '释放时间', name: 'createDate', type: "normal" },
    ],
    tableOpt: [
      {
        type: "view",
        text: "明细",
        request: false,
        jump: "/financial_m_v3_speed_up_detail_table",
      },
    ],
    search: {
      contentArr: {
        date1: {
          labelName: '起止时间',
          inputName: 'tempTime',
          dateConfig: {
            startDateName: 'startDate',
            endDateName: 'endDate',
            dateChangeMethodsName: 'handleSearchDateChange'
          }
        },
      },
      //查找按钮的文字
      searchBtn: {
        text: "查询", //链接与table请求接口相同，不做另外配置
      },
      //添加按钮
      // addBtn: {
      //   //搜索栏具有添加功能按钮时，设置此字段
      //   type: "add",
      //   text: "新增等级",
      //   request: false,
      //   jump: "/financial_m_add_page", //添加的跳转按钮
      // }
    },
  },



  //v3加速释放 明细
  table4_1: {
    // isGenerate: "false", //false表示不生成页面
    table_name: "v3_speed_up_detail_table",  //表页面名
    // nav_name: "v3加速释放明细",  //导航名
    tipsText: "财务管理 >> v3加速释放明细", //顶部文字
    // tableReqMethod: "get",  //分页请求配置成get方式, 默认为post
    pageApi: "API.financial_m.v3_speed_up_dp",  //请求api
    extraPageRequestParams: `
      type: 1,  //V3
      createDate: this.$route.query.createDate,
      earningsType: 12,
    `, //已有page和pageSize
    //获取列表页面
    tableData: [
      //普通
      { title: '序号', name: 'index', type: "normal" },
      { title: '用户id', name: 'userId', type: "normal" },
      { title: '数量', name: 'number', type: "normal" },
      { title: '电话', name: 'tel', type: "normal" },
      { title: '订单id', name: 'payNo', type: "normal" },
      {
        title: '出入账',
        name: 'earnings',
        type: "opts",
        showName: "earningsShow",
        showObj: `{
          "1": "收入",
          "2": "支出",
          "3": "充值",
        }`
      },
      {
        title: '来源',
        name: 'earningsType',
        type: "opts",
        showName: "earningsTypeShow",
        showObj: `{
          "1": "USDT充值",
          "2": "CNY(拼团余额)",
          "3": "支付宝",
          "4": "下级订单未中奖收益",
          "5": "退回参团金额",
          "6": "拼团未中奖收益",
          "7": "订单中奖明细",
          "8": "下级订单中奖奖励",
          "9": "创客奖励",
          "10": "创客释放",
          "11": "每日释放",
          "12": "v3加速",
          "13": "参与城市代理竞购",
          "14": "城市代理确认支付金额",
          "15": "代理结算",
          "16": "代理加速",
          "17": "创始节点",
          "18": "参与拼团",
          "19": "两倍燃烧奖章",
          "20": "助力燃烧奖章",
          "21": "购买易物",
          "22": "提货券兑换拼呗",
          "23": "拼呗兑换余额",
          "24": "代理退款",
          "25": "代理竞购成功奖励",
        }`
      },
      {
        title: '类型',
        name: 'numberType',
        type: "opts",
        showName: "numberTypeShow",
        showObj: `{
          "1": "奖章",
          "2": "拼团未中奖退回余额",
          "3": "拼豆",
          "4": "提货券",
          "5": "拼呗",
          "6": "购买扣除余额",
          "7": "代理竞购余额",
        }`
      },
    ],
    tableOpt: [

    ],
    search: {
      contentArr: {
        // date1: {
        //   labelName: '起止时间',
        //   inputName: 'tempTime',
        //   dateConfig: {
        //     startDateName: 'startDate',
        //     endDateName: 'endDate',
        //     dateChangeMethodsName: 'handleSearchDateChange'
        //   }
        // },
      },
      //查找按钮的文字
      // searchBtn: {
      //   text: "查询", //链接与table请求接口相同，不做另外配置
      // },
      //添加按钮
      // addBtn: {
      //   //搜索栏具有添加功能按钮时，设置此字段
      //   type: "add",
      //   text: "新增等级",
      //   request: false,
      //   jump: "/financial_m_add_page", //添加的跳转按钮
      // }
    },
  },


  //提现列表
  table5: {
    isGenerate: "false", //false表示不生成页面
    table_name: "extract_table",  //表页面名
    nav_name: "提现列表",  //导航名
    tipsText: "提现管理 >> 提现列表", //顶部文字
    // tableReqMethod: "get",  //分页请求配置成get方式, 默认为post
    pageApi: "API.financial_m.user_extract_page",  //请求api
    // extraPageRequestParams: `
    //   courseId: this.$route.query.id,  //请求
    // `, //已有page和pageSize
    //获取列表页面
    tableData: [
      //普通
      { title: '序号', name: 'index', type: "normal", itemWidth: "60" },
      { title: '用户昵称', name: 'nickName', type: "normal" },
      { title: '开户名', name: 'userName', type: "normal" },
      { title: '开户支行', name: 'branchName', type: "normal" },
      { title: '银行卡号', name: 'bankCode', type: "normal" },
      { title: '原提现金额', name: 'number', type: "normal" },
      { title: '手续费', name: 'serviceCharge', type: "normal" },
      { title: '手机号', name: 'tel', type: "normal" },
      {
        title: '可到账金额',
        name: 'state',
        type: "innerCode",
        innerCode: `{{ Number(scope.row.number) - Number(scope.row.serviceCharge)}}`,
      },
      //类型opts(showName定义动态绑定值  showObj定义匹配显示值)，0提出申请 ，1通过 ，2不通过 3已打款
      {
        title: '状态',
        name: 'state',
        type: "opts",
        showName: "stateShow",
        showObj: `{
          "0": "提出申请",
          "1": "未打款",
          "2": "未通过",
          "3": "已打款",
        }`
      },
      { title: '申请时间', name: 'createDate', type: "normal" },

    ],
    tableOpt: [
      //通过拒绝功能
      {
        type: "changeState",
        text: "通过",
        request: true,
        url: "API.financial_m.user_extract_editState",
        requestType: 'post',
        params: `{id,  state: 1 }`, //必须为文本 状态 1通过 2拒绝
        methodNameTag: 'Open', //方法衔接拓展名 changeState Black
        showCondition: `scope.row.state == '0'`,  //展示条件，没有就不传或置为空
      },
      {
        type: "changeState",
        text: "拒绝",
        request: true,
        url: "API.financial_m.user_extract_editState",
        requestType: 'post',
        params: `{id,  state: 2 }`, //必须为文本
        methodNameTag: 'Close', //方法衔接拓展名 changeState Black
        showCondition: `scope.row.state == '0'`,  //展示条件，没有就不传或置为空
      },
      {
        type: "view",
        text: "打款上传",
        request: false,
        jump: "/financial_m_add_moneny_config"
      },
    ],
    search: {
      contentArr: {
        input1: { labelName: '手机号', inputName: 'tel' },
        select1: {
          labelName: '状态',
          inputName: 'state',
          selectOptsName: "stateOpts",
          selectOptsArr: `[
              { value: "", label: "全部" },
              { value: "0", label: "提出申请" },
              { value: "1", label: "通过" },
              { value: "2", label: "不通过" },
              { value: "3", label: "已打款" },
          ],
          `,
        },
        date1: {
          labelName: '起止时间',
          inputName: 'temp',
          dateConfig: {
            startDateName: 'startDate',
            endDateName: 'endDate',
            dateChangeMethodsName: 'handleRegisterDateChange'
          }
        },
      },
      //查找按钮的文字
      searchBtn: {
        text: "查询",  //链接与table请求接口相同，不做另外配置
      },
      //添加按钮
      // addBtn: {
      //   //搜索栏具有添加功能按钮时，设置此字段
      //   type: "add",
      //   text: "新增等级",
      //   request: false,
      //   jump: "/financial_m_add_page", //添加的跳转按钮
      // }
    },
  },


  /* 打款页面 */
  //添加页面 有个bug add_page_name必须与add_pageX一起用
  add_page5: {
    // isGenerate: "false", //false表示不生成页面
    add_page_name: "add_moneny_config",  //尽量短些,要拼接路由
    tipsText: "会员管理 >> 添加",
    // pageApi: "API.sys_setting.sys_setting_page",  //请求api
    formData: {
      // titleText: "请填写管理员相关信息",
      input1: {
        labelName: '操作人',
        inputName: 'operator',
        isNeed: 'true',
        // disabled: 'true', //为true时禁用
      },

      //图片上传
      uploadImg1: {
        labelName: "打款凭据",
        inputName: "evidence",
        type: "many", //type: "single"
        countLimit: "3",
        uploadMethod: "handleUploadBanner",
        isNeed: 'true',
      },

    },
    addBtn: {
      text: '添加',
      url: "API.financial_m.user_zhuan_zhang",
      extraParams: ` courseId: Number(this.$route.query.courseId), `, //请求的额外参数
      jumpPath: "/course_manager_course_chapter",
      extraQueryParams: ` { id: this.$route.query.courseId } `, //跳转时携带参数
    }, //
    editBtn: {
      text: '保存',
      detailUrl: "API.financial_m.detail", //默认get方式请求
      // detailType: 'get', //请求方式
      isSplitSearchString: 'true', //拼接查询字符串, get和post的必须字段
      // extraParams: ` courseId: Number(this.$route.query.courseId), `, //请求的额外参数
      editUrl: "API.financial_m.user_zhuan_zhang",
      jump: '/financial_m_extract_table'
    },
    cancelBtn: { text: "取消" }, //
  },




  //收益明细
  table6: {
    // isGenerate: "false", //false表示不生成页面
    table_name: "profit_table",  //表页面名
    nav_name: "收益明细列表",  //导航名
    tipsText: "财务管理 >> 收益明细列表", //顶部文字
    // tableReqMethod: "get",  //分页请求配置成get方式, 默认为post
    pageApi: "API.financial_m.profit_page",  //请求api
    // extraPageRequestParams: `
    //   courseId: this.$route.query.id,  //请求
    // `, //已有page和pageSize
    //获取列表页面
    tableData: [
      //普通
      { title: '序号', name: 'index', type: "normal" },
      { title: '昵称', name: 'nickName', type: "normal" },
      { title: '数量', name: 'number', type: "normal" },
      { title: '手机号', name: 'tel', type: "normal" },
      { title: '用户id', name: 'userId', type: "normal" },
      {
        title: '类型',
        name: 'earnings',
        type: "opts",
        showName: "earningsShow",
        showObj: `{
        "1": "收入",
        "2": "支出",
        "3": "充值",
      }`
      },
      {
        title: '种类',
        name: 'numberType',
        type: "opts",
        showName: "numberTypeShow",
        showObj: `{
          "1": "奖章",
          "2": "拼团未中奖退回余额",
          "3": "拼豆",
          "4": "提货券",
          "5": "拼呗",
          "6": "购买扣除余额",
          "7": "代理竞购余额"
        }`
      },

      { title: '描述', name: 'payDescribe', type: "normal" },

      // {
      //   title: '来源',
      //   name: 'earningsType',
      //   type: "opts",
      //   showName: "earningsTypeShow",
      //   showObj: `{
      //   "1": "USDT充值",
      //   "2": "CNY(拼团余额)",
      //   "3": "支付宝",
      //   "4": "下级订单未中奖收益",
      //   "5": "退回参团金额",
      //   "6": "拼团未中奖收益",
      //   "7": "订单中奖明细",
      //   "8": "下级订单中奖奖励",
      //   "9": "创客奖励",
      //   "10": "创客释放",
      //   "11": "每日释放",
      //   "12": "v3加速",
      //   "13": "参与城市代理竞购",
      //   "14": "城市代理确认支付金额",
      //   "15": "代理结算",
      //   "16": "代理加速",
      //   "17": "创始节点",
      //   "18": "参与拼团",
      //   "19": "两倍燃烧奖章",
      //   "20": "助力燃烧奖章",
      //   "21": "购买易物",
      //   "22": "提货券兑换拼呗",
      //   "23": "拼呗兑换余额",
      //   "24": "代理退款",
      // }`
      // },

      { title: '创建时间', name: 'createDate', type: "normal" },

    ],
    tableOpt: [
      // //编辑跳转
      // {
      //   type: "modify",
      //   text: "编辑",
      //   request: false,
      //   jump: "/member_manager_edit_member"
      // },
      // //删除功能
      // {
      //   type: "del",
      //   text: "删除",
      //   request: true,
      //   url: "API.identify_manager.del",
      //   requestType: 'post',
      //   isSplitSearchString: 'true',  //拼接查询字符串（post需要，get不需要）。
      // },
    ],
    search: {
      contentArr: {
        input1: { labelName: '用户id', inputName: 'userId' },
        select1: {
          labelName: '收支',
          inputName: 'earnings',  //输入绑定的变量
          selectOptsName: "earningsOpts",
          selectOptsArr: `[
            { value: "1", label: "收入" },
            { value: "2", label: "支出" },
            { value: "3", label: "充值" },
            { value: "", label: "请选择" },
          ],
          `, //选项数组
        },
        select2: {
          labelName: '类型',
          inputName: 'numberType',  //输入绑定的变量
          selectOptsName: "numberTypeOpts",
          selectOptsArr: `[
            { value: "1", label: "奖章" },
            { value: "3", label: "拼豆" },
            { value: "4", label: "提货券" },
            { value: "5", label: "拼呗" },
            { value: "6 ", label: "余额" },
            { value: "", label: "请选择" },
          ],
          `, //选项数组
        },
        // date1: {
        //   labelName: '起止时间',
        //   inputName: 'tempTime',
        //   dateConfig: {
        //     startDateName: 'startDate',
        //     endDateName: 'endDate',
        //     dateChangeMethodsName: 'handleSearchDateChange'
        //   }
        // },
      },
      //查找按钮的文字
      searchBtn: {
        text: "查询", //链接与table请求接口相同，不做另外配置
      },
      //添加按钮
      // addBtn: {
      //   //搜索栏具有添加功能按钮时，设置此字段
      //   type: "add",
      //   text: "充值",
      //   request: false,
      //   jump: "/charge_m_charge_detail", //添加的跳转按钮
      // }
    },
  },


  
  //充值列表页面
  table7: {
    isGenerate: "false", //false表示不生成页面
    table_name: "charge_m_list",  //表页面名
    nav_name: "充值列表",  //导航名
    tipsText: "充值管理 >> 充值列表", //顶部文字
    // tableReqMethod: "get",  //分页请求配置成get方式, 默认为post
    pageApi: "API.charge_m.page",  //请求api
    // extraPageRequestParams: `
    //   courseId: this.$route.query.id,  //请求
    // `, //已有page和pageSize
    //获取列表页面
    tableData: [
      //普通
      { title: '序号', name: 'index', type: "normal" },
      { title: '昵称', name: 'nickName', type: "normal" },
      { title: '昵称', name: 'number', type: "normal" },
      { title: '手机号', name: 'tel', type: "normal" },
      {
        title: '类型',
        name: 'earnings',
        type: "opts",
        showName: "earningsShow",
        showObj: `{
          "1": "收入",
          "2": "支出",
          "3": "充值",
        }`
      },
      {
        title: '种类',
        name: 'numberType',
        type: "opts",
        showName: "numberTypeShow",
        showObj: `{
          "1": "奖章",
          "2": "拼团未中奖退回余额",
          "3": "拼豆",
          "4": "提货券",
          "5": "拼呗",
          "6": "购买扣除余额",
        }`
      },
      // {
      //   title: '来源',
      //   name: 'earningsType',
      //   type: "opts",
      //   showName: "earningsTypeShow",
      //   showObj: `{
      //     "1": "USDT充值",
      //     "2": "CNY(拼团余额)",
      //     "3": "支付宝",
      //     "4": "下级订单未中奖收益",
      //     "5": "退回参团金额",
      //     "6": "拼团未中奖收益",
      //     "7": "订单中奖明细",
      //     "8": "下级订单中奖奖励",
      //     "9": "创客奖励",
      //     "10": "创客释放",
      //     "11": "每日释放",
      //     "12": "v3加速",
      //     "13": "参与城市代理竞购",
      //     "14": "城市代理确认支付金额",
      //     "15": "代理结算",
      //     "16": "代理加速",
      //     "17": "创始节点",
      //     "18": "参与拼团",
      //     "19": "两倍燃烧奖章",
      //     "20": "助力燃烧奖章",
      //     "21": "购买易物",
      //     "22": "提货券兑换拼呗",
      //     "23": "拼呗兑换余额",
      //     "24": "代理退款",
      //   }`
      // },
      

      { title: '描述', name: 'payDescribe', type: "normal" },

      { title: '创建时间', name: 'createDate', type: "normal" },
       
    ],
    tableOpt: [
      // //编辑跳转
      // {
      //   type: "modify",
      //   text: "编辑",
      //   request: false,
      //   jump: "/member_manager_edit_member"
      // },
      // //删除功能
      // {
      //   type: "del",
      //   text: "删除",
      //   request: true,
      //   url: "API.identify_manager.del",
      //   requestType: 'post',
      //   isSplitSearchString: 'true',  //拼接查询字符串（post需要，get不需要）。
      // },
    ],
    search: {
      contentArr: {
        input1: { labelName: '手机号', inputName: 'tel' },
        date1: {
          labelName: '起止时间',
          inputName: 'tempTime',
          dateConfig: {
            startDateName: 'startDate',
            endDateName: 'endDate',
            dateChangeMethodsName: 'handleSearchDateChange'
          }
        },
      },
      //查找按钮的文字
      searchBtn: {
        text: "查询", //链接与table请求接口相同，不做另外配置
      },
      //添加按钮
      addBtn: {
        //搜索栏具有添加功能按钮时，设置此字段
        type: "add",
        text: "充值",
        request: false,
        jump: "/charge_m_charge_detail", //添加的跳转按钮
      }
    },

  },

  //充值详情页面
  detail_page7: {
    isGenerate: "false", //false表示不生成页面
    detail_page_name: "charge_detail",
    detail_api: "API.charge_m.detail",
    request_params: `{
      id,
    }`,
    tipsText: "充值管理 >> 充值页面",
    formData: {
      // titleText: "请填写管理员相关信息",

      item1: {
        labelName: "动态内容",
        inputName: 'remark',
        type: "normal",
        frontTips: "", //后面的说明
        behindTips: "", //前面的说明
      },

    },
  },


}

